import React from 'react';
import ReactDOM from 'react-dom';
import {ConfigProvider} from 'antd';
import zhCN from 'antd/es/locale/zh_CN';
import {Provider} from 'mobx-react';
import RootStore from "./store/RootStore";
import * as serviceWorker from './serviceWorker';
import 'antd/dist/antd.min.css'
import './styles/base.scss'
import RootRoute from "./router/RootRoute";
import {BrowserRouter} from "react-router-dom";
ReactDOM.render(
	<ConfigProvider locale={zhCN}>
		<Provider {...RootStore}>
			<BrowserRouter>
				<RootRoute/>
			</BrowserRouter>
		</Provider>
	</ConfigProvider>,
	document.getElementById('root'));
serviceWorker.unregister();
